package com.kang.bean;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

/**
 * group
 * @author
 */
public class GroupS {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 分组组名
     */
    private String name;

    /**
     * 分组封面
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long coverId;

    /**
     * 相册所属用户
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

    /**
     * 类型：1、公开，2、私有，3、加密
     */
    private Integer type;

    /**
     * 加密的密码
     */
    private String password;

    /**
     * 分组简介
     */
    private String info;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getCoverId() {
        return coverId;
    }

    public void setCoverId(Long coverId) {
        this.coverId = coverId;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
